/*
 * @Author: DUST
 * @Date: 2023-05-15 15:03:48
 * @LastEditors: DUST
 * @LastEditTime: 2023-05-15 15:27:06
 * @FilePath: \vite-project\src\config\viteConfig.ts
 * @Description: 
 * undefined
 */
import { Config } from "../interface";
import dev from "./dev";
import prod from "./base";

const viteConfig = (isProd: boolean): Config => {
  return {
    isProd,
    baseurl: "",
    ...(isProd ? prod : dev)
  }
}

export default viteConfig;